package lines.gameengine.strategy;

import lines.gameengine.IField;

/**
 * @author vpotapenko
 */
public abstract class AbstractBallStrategy implements IBallStrategy {

    private final int value;
    private final IField field;

    protected AbstractBallStrategy(int value, IField field) {
        this.value = value;
        this.field = field;
    }

    @Override
    public int getValue() {
        return value;
    }

    protected IField getField() {
        return field;
    }
}
